/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package xmlcrud;

import dao.StudentDAO;
import dto.Student;
import java.util.ArrayList;

/**
 *
 * @author NDH
 */
public class XmlCrud {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        StudentDAO dao = new StudentDAO();
        ArrayList<Student> list = dao.readAll();
        Student st = new Student(1, "newname3", "newmail");
        dao.update(st);
        System.out.toString();
    }
}
